package cn.bugstack.springframework.beans.factory;

import cn.bugstack.springframework.beans.BeansException;

/**
 * @author ouyangzhao
 */
public interface BeanFactory {

    Object getBean(String beanName) throws BeansException;

    Object getBean(String beanName, Object ... args) throws BeansException;

    <T> T getBean(String beanName,Class<T> requestedType) throws BeansException;

}
